package com.fc.authentication.common.utils;

/**
 * Created by Sunny on 2018/6/21.
 */
public class Constant {

    public static class ULevel {

    }

    public static class Status{
        /**
         * 正常
         */
        public final static Integer ACTIVE = 1;

        /**
         * 非正常
         */
        public final static Integer INACTIVE = 0;

        public final static Integer DELETED = -1;
    }
    public static class StatusCode{
        /**
         * 操作成功
         */
        public final static String SC_OK = "000";

        /**
         * 非法操作
         */
        public final static String SC_ILLEGAL_OPERATION = "099";

        /**
         * 系统未开通
         */
        public final static String SC_SYSTEM_NO_PERMISSION = "100";

        /**
         * 系统授权已过期
         */
        public final static String SC_SYSTEM_PERMISSION_EXPIRED = "101";

        /**
         * 商户不存在
         */
        public final static String SC_ORG_NOT_EXIST = "201";

        /**
         * 商户状态不正常
         */
        public final static String SC_ORG_STATUS_INNORMAL = "202";

        /**
         * 用户不存在
         */
        public final static String SC_USER_NOT_EXIST = "203";

        /**
         * 用户状态不正常
         */
        public final static String SC_USER_STATUS_INNORMAL = "204";

        /**
         * 用户密码不正确
         */
        public final static String SC_USER_PASSWORD_INCORRECT = "205";
    }
}
